a194b764ec0ed663296df6aee5064db6c97abd48,src/main/java/com/shapesecurity/salvation/Parser.java,Parser,parseUriList,#,636

Before Change


        Set<URI> uriList = new LinkedHashSet<>();
        if (this.hasNext(DirectiveValueToken.class)) {
            boolean parseException = false;
            String dv = trimRHSWS(this.advance().value);
            for (String v : WSP.split(dv)) {
                try {
                    uriList.add(this.parseUri(v));
                } catch (DirectiveValueParseException e) {
                    parseException = true;
                    this.error(e.getMessage());
                }
            }
            if (parseException) {

After Change


        Set<URI> uriList = new LinkedHashSet<>();
        if (this.hasNext(DirectiveValueToken.class)) {
            boolean parseException = false;
            Token dv = this.advance();
            for (SubDirectiveValueToken subdv : splitByWSP(dv)) {
                try {
                    uriList.add(this.parseUri(subdv));
                } catch (DirectiveValueParseException e) {